<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JavaScript关键字</title>
</head>

<body>
    <script>
        //JavaScript 关键字用于标识要执行的操作。
        //和其他任何编程语言一样，JavaScript 保留了一些关键字为自己所用。
        //var 关键字告诉浏览器创建一个新的变量：
        var x = 5 + 6;
        var y = x * 10;
    </script>
    <table border="1" cellspacing="0" cellpadding="5" width="500">
        <tr>
            <th colspan="4">以下是 JavaScript 中最​​重要的保留关键字（按字母顺序）</th>
        </tr>
        <tr>
            <td>abstract</td>
            <td>else</td>
            <td>instanceof</td>
            <td>super</td>
        </tr>
        <tr>
            <td>boolean</td>
            <td>enum</td>
            <td>int</td>
            <td>switch</td>
        </tr>
        <tr>
            <td>break</td>
            <td>export</td>
            <td>interface</td>
            <td>synchronized</td>
        </tr>
        <tr>
            <td>byte</td>
            <td>extends</td>
            <td>let</td>
            <td>this</td>
        </tr>
        <tr>
            <td>case</td>
            <td>false</td>
            <td>long</td>
            <td>throw</td>
        </tr>
        <tr>
            <td>catch</td>
            <td>final</td>
            <td>native</td>
            <td>throws</td>
        </tr>
        <tr>
            <td>char</td>
            <td>finally</td>
            <td>new</td>
            <td>transient</td>
        </tr>
        <tr>
            <td>class</td>
            <td>float</td>
            <td>null</td>
            <td>true</td>
        </tr>
        <tr>
            <td>const</td>
            <td>for</td>
            <td>package</td>
            <td>try</td>
        </tr>
        <tr>
            <td>continue</td>
            <td>function</td>
            <td>private</td>
            <td>typeof</td>
        </tr>
        <tr>
            <td>debugger</td>
            <td>goto</td>
            <td>protected</td>
            <td>var</td>
        </tr>
        <tr>
            <td>default</td>
            <td>if</td>
            <td>public</td>
            <td>void</td>
        </tr>
        <tr>
            <td>delete</td>
            <td>implements</td>
            <td>return</td>
            <td>volatile</td>
        </tr>
        <tr>
            <td>do</td>
            <td>import</td>
            <td>short</td>
            <td>while</td>
        </tr>
        <tr>
            <td>double</td>
            <td>in</td>
            <td>static</td>
            <td>with</td>
        </tr>
    </table>
</body>

</html>